package com.practice.spring.cloud.dubbo.sample.api.service;

import com.practice.spring.cloud.dubbo.sample.api.entity.User;

import java.util.Collection;

/**
 * @author yangdejun
 * @date 2020/12/08
 **/
public interface UserService {

    boolean save(User user);

    boolean remove(Long userId);

    Collection<User> findAll();
}
